package org.zzz.utils;

/**
 * @Author ZZF
 * @Time 2021/04/20 21:30
 */
public enum ResultEnum {
    SUCCESS(200,"操作成功"),
    ERROR(300,"操作失败"),
    NOT_FOUND(404,"无此数据");

    private int status;
    private String message;

    ResultEnum(int status, String message) {
        this.status = status;
        this.message = message;
    }

    public int getStatus() {
        return status;
    }

    public String getMessage() {
        return message;
    }

}
